package cn.onein.edu.web.service;

import java.util.Map;

import cn.onein.edu.biz.bean.LearnCategory;
import cn.onein.edu.biz.bean.LearnSection;

/**
 * 育儿百科首页 service接口
 * @author Upton
 *
 */
public interface LearnService{

	public abstract Map<String,Object> getLearnIndex();
	
	public abstract Map<String,Object> getHotContentBySectionName(String sectionName,int count);
	
	public abstract Map<String,Object> getContentGroupByCategory(Map<String,Object> map,String name);
	
	public abstract LearnCategory getCurrCategoryByCategoryName(String name);
	
	public abstract void getHotContentByCategory(Map<String,Object> map,Long categoryId,String sectionName);
	
	public abstract void getPerpageContentByCategory(Map<String,Object> map,Long categoryId,String sectionName,Integer currPage,Integer perpageSize);
	
	public abstract Integer getContentCountsByCategory(Long categoryId,String sectionName);
	
	public abstract void getSectionDetail(Map<String,Object> map,String sectionName);
	
	public abstract LearnSection getSectionBySectionName(String sectionName);
	
	public abstract void getLearnMenu(Map<String,Object> param);
	
}
